package com.edu.entity;

public class Trucks {
	private int tId;
	private String tType; //车辆车型
	private String tNum;//车牌号码
	private String tMain;//检修状态
	private String tAge;//使用年限
	private String tState;//使用状态
	public int gettId() {
		return tId;
	}
	public void settId(int tId) {
		this.tId = tId;
	}
	public String gettType() {
		return tType;
	}
	public void settType(String tType) {
		this.tType = tType;
	}
	public String gettNum() {
		return tNum;
	}
	public void settNum(String tNum) {
		this.tNum = tNum;
	}
	public String gettMain() {
		return tMain;
	}
	public void settMain(String tMain) {
		this.tMain = tMain;
	}
	public String gettAge() {
		return tAge;
	}
	public void settAge(String tAge) {
		this.tAge = tAge;
	}
	public String gettState() {
		return tState;
	}
	public void settState(String tState) {
		this.tState = tState;
	}
	
	public Trucks(int tId, String tType, String tNum, String tMain, String tAge, String tState) {
		super();
		this.tId = tId;
		this.tType = tType;
		this.tNum = tNum;
		this.tMain = tMain;
		this.tAge = tAge;
		this.tState = tState;
	}
	
	public Trucks(String tType, String tNum, String tMain, String tAge, String tState) {
		super();
		this.tType = tType;
		this.tNum = tNum;
		this.tMain = tMain;
		this.tAge = tAge;
		this.tState = tState;
	}
	public Trucks() {
		super();
	}
	
	@Override
	public String toString() {
		return "Trucks [tId=" + tId + ", tType=" + tType + ", tNum=" + tNum + ", tMain=" + tMain + ", tAge=" + tAge
				+ ", tState=" + tState + "]";
	}

}
